hasone relation in laravel

31

$roles = App\User::find(1)->roles()->orderBy('name')->get();

Comments

Submit
0 Comments